AllowPluginCallback

public interface AllowPluginCallback implements PluginsSyncCallback<P, R>

This callback is invoked when the engine wants to check whether a specific plugin is allowed or not.

Use the allow method to allow the plugin.

Use the deny method to deny the plugin.

Important: the engine will be blocked until the callback response is sent. It is not allowed to invoke any engine/browser methods in this callback.

Types

Link copied to clipboard
public interface Params
The parameters of the AllowPluginCallback.
Link copied to clipboard
public interface Response
A response for AllowPluginCallback.

Functions

Link copied to clipboard
@CheckForNull()
public abstract R on(P params)
Invoked when the callback needs a response of type R that may be determined based on the provided callback parameters.